﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Microsoft.Practices.Unity;

namespace ERPStore.Start
{
	public class WorkflowConfig
	{
		public static void Configure(IUnityContainer container)
		{
			CloudSoft.Workflows.GlobalConfiguration.Configuration.DependencyResolver = new IOC.WorkflowDependencyResolver(container);
			CloudSoft.Workflows.GlobalConfiguration.Configuration.Logger = new Logging.WorkflowLoggerWrapper(GlobalConfiguration.Configuration.Logger);
		}
	}
}
